<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>登录</title>
    </head>
    <body>
        <p th:text="${msg}"></p>
        <br>
        <form th:action="@{/user/login}" th:method="post">
            用户名： <input type="text" name="username" th:value="zhangsan"><br>
            密码：<input type="password" name="password" th:value="123456"><br>
            验证码：<input type="text" name="verifyCode"> <img th:src="@{/user/getVerifyCode}"><br>
            <input type="checkbox" checked="checked"  name="rememberMe" /> 记住我 <br>
            <input type="submit" value="登录">
        </form>
        <br>
        <br>
        <br>
        <a th:href="@{/regist}">注册</a>
    </body>
</html>